Preemptive Priority-based Scheduling: an Appropriate Engineering Approach 10.1.1 Calculating Response Times
نویسنده
چکیده
Scheduling theories for xed-priority scheduling are now suuciently mature that a genuine engineering approach to the construction of hard real-time systems is possible. In this chapter we review recent advances. A exible computational model is adopted that can accommodate periodic and sporadic activities, diierent levels of criticality, process interaction and blocking, cooperative scheduling (deferred preemption), release jitter, precedence constrained processes, arbitrary deadlines, deadlines associated with speciic events (rather than the end of a task's execution), and oosets. Scheduling tests for these diierent application characteristics are described. This model can be supported by structured, object-oriented, or formal development methods. The chapter also considers the issues involved in producing safe and predictable kernels to support this computational model. 10.1 Introduction Recent developments in the analysis of xed-priority preemptive scheduling have made signiicant enhancements to the models introduced by Lui and Layland in their seminal 1973 paper 33]. These developments, taken together, now represent a body of analysis that forms the basis for an engineering approach to the design, veriication, and implementation of hard real-time systems. In this chapter we review much of this analysis in order to support the thesis that safety critical real-time systems can, and should, be built using these techniques. Preemptive priority-based scheduling prescribes a run-time environment in which tasks, with a priority attribute, are dispatched in priority order. Priorities are, essentially, static. Processes are either runnable, in which case they are held on a notional (priority-ordered) run queue; delayed, in which case they are held 222 Introduction 223 on a notional delay queue; or suspended, in which case they are awaiting an event which may be triggered externally (via an interrupt) or internally (from some other task). Most existing hard real-time systems are implemented using a static table-driven schedule (often called a cyclic executive). Priority-based scheduling has many advantages over this static approach (see Locke 35] for a detailed discussion of this issue). In essence these advantages all relate to one theme|increased ex-ibility. However, in order to challenge the role of static scheduling as the premier implementation model, priority-based scheduling must: provide the same level of predictability (of temporal behavior) allow a wide range of application characteristics to be accommodated enable dependable (safe) implementations to be supported. All of these issues are addressed in this review, which is organized as follows. The remainder of this introduction outlines a simple model of task attributes and shows how worst-case response …
منابع مشابه
The preemptive resource-constrained project scheduling problem subject to due dates and preemption penalties: An integer programming approach
Extensive research has been devoted to resource constrained project scheduling problem. However, little attention has been paid to problems where a certain time penalty must be incurred if activity preemption is allowed. In this paper, we consider the project scheduling problem of minimizing the total cost subject to resource constraints, earliness-tardiness penalties and preemption penalties, ...
متن کاملReducing Execution Waste in Priority Scheduling: a Hybrid Approach
Guaranteeing quality for differentiated services while ensuring resource efficiency is an important and yet challenging problem in large computing clusters. Priority scheduling is commonly adopted in production systems to minimize the response time of high-priority workload by means of preempting the execution of low-priority workload when faced with limited resources. As a result, the system p...
متن کاملGASA: Presentation of an Initiative Method Based on Genetic Algorithm for Task Scheduling in the Cloud Environment
The need for calculating actions has been emerged everywhere and in any time, by advancing of information technology. Cloud computing is the latest response to such needs. Prominent popularity has recently been created for Cloud computing systems. Increasing cloud efficiency is an important subject of consideration. Heterogeneity and diversity among different resources and requests of users in ...
متن کاملGASA: Presentation of an Initiative Method Based on Genetic Algorithm for Task Scheduling in the Cloud Environment
The need for calculating actions has been emerged everywhere and in any time, by advancing of information technology. Cloud computing is the latest response to such needs. Prominent popularity has recently been created for Cloud computing systems. Increasing cloud efficiency is an important subject of consideration. Heterogeneity and diversity among different resources and requests of users in ...
متن کاملScalable Real-Time System Design using Preemption Thresholds
The maturity of schedulabilty analysis techniques for fixed-priority preemptive scheduling has enabled the consideration of timing issues at design time using a specification of the tasking architecture and estimates of execution times for tasks. While successful, this approach has limitations since the preemptive multi-tasking model does not scale well for a large number of tasks, and the fixe...
متن کامل